//
//  XZPractice.h
//  Teecloud
//
//  Created by PC on 2018/10/24.
//  Copyright © 2018年 小志. All rights reserved.
//  练习记录模型

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XZPractice : NSObject

@property (nonatomic, copy) NSString *Id;//练习id
@property (nonatomic, copy) NSString *Title;//练习标题
@property (nonatomic, strong) NSNumber *ResType;//1练习 2测试
@property (nonatomic, copy) NSString *HeadUrl;//头像地址
@property (nonatomic, copy) NSString *CorrectRate;//正确率
@property (nonatomic, copy) NSString *UseTime;//用时

@property (nonatomic, copy) NSString *ExamTime;//练习时间
@property (nonatomic, strong) NSNumber *TestScore;//测试分数(仅ResType=2)
@property (nonatomic, assign) BOOL IsPass;//是否测试通过(仅ResType=2)
@property (nonatomic, assign) BOOL IsOver;//练习或测试是否结束
@property (nonatomic, assign) BOOL IsExamInStudy;//是否随堂练习主记录
//0正常 1资源不可用 2非购买资源手机
@property (nonatomic, strong) NSNumber *NormalCode;
@end

NS_ASSUME_NONNULL_END

